<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script src="./vue.js"></script>
  <!-- <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script> -->
  <div id="app">
    Vue的模板
    <img v-bind:src="urlImg" v-bind:title='imgTitle'>

  </div>
 <script>
  // 创建实例对象
  const app = new Vue({
    // 容器
    el: '#app',
    // 数据
    data: {
      urlImg: './imgs/10-01.png',
      imgTitle: "播仔"
    }
  })
  </script>
</body>

</html>